]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
load the GAppInfos at startup time rather than waiting until the overlay
authorDan Winship <danw@src.gnome.org>
Tue, 13 Jan 2009 20:45:54 +0000 (20:45 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 13 Jan 2009 20:45:54 +0000 (20:45 +0000)
is opened for the first time

svn path=/trunk/; revision=146

js/ui/appDisplay.js

index d8e66663217e1869895b6e8d3cceb869e3b23827..3fc5fab32aabdadf4844d565341307ee41b454fa 100644 (file)
@@ -120,6 +120,10 @@ AppDisplay.prototype = {
             // user in in the overlay mode, however let's redisplay just in case.
             me._redisplay(); 
         });
+
+        // Load the GAppInfos now so it doesn't slow down the first
+        // transition into the overlay
+        this._refreshCache();
     },
 
     //// Protected method overrides ////